<?php
namespace App\Domain\ErrBook;

use Illuminate\Support\ServiceProvider;

class ErrBookServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\ErrBook\Service\ErrBookService',
            'App\Domain\ErrBook\Service\ErrBookServiceImpl'
        );
        $this->app->singleton('errBookService', function () {
            return $this->app->make('App\Domain\ErrBook\Service\ErrBookService');
        });
    }
}
